package com.rabbiter.pm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rabbiter.pm.domain.Car;
import com.rabbiter.pm.domain.CarToUser;
import com.rabbiter.pm.domain.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarUserMapper extends BaseMapper<CarToUser> {
    List<Car> selectCarByUid(@Param("uid") Integer uid);

    List<User> selectUidByCar(@Param("tid")Integer tid);
}
